Force malloc of g_slices in asan build
authorMatthias Clasen <mclasen@redhat.com>
Fri, 22 Jan 2021 05:13:13 +0000 (00:13 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 22 Jan 2021 05:13:13 +0000 (00:13 -0500)
Otherwise leaks could be missed.

.gitlab-ci/run-tests.sh

index 6f6a09258f323bedb3865e925fe9aff44e8a9534..1fca1f7a4b65680af777246ec1d12bf99667d3b9 100755 (executable)
@@ -9,6 +9,7 @@ backend=$2
 
 # Ignore memory leaks lower in dependencies
 export LSAN_OPTIONS=suppressions=$srcdir/lsan.supp
+export G_SLICE=always-malloc
 
 case "${backend}" in
   x11)